MZ_CONFIG={'deadline':{'web_serive':'192.168.8.3','port':8082}}

try:
    # from Deadline import *
    # from Deadline import DeadlineConnect as Connect
    import DeadlineConnect as Connect
    connectionObject = Connect.DeadlineCon(MZ_CONFIG['deadline']['web_serive'], MZ_CONFIG['deadline']['port'])

    pools=connectionObject.Pools.GetPoolNames()
    MZ_CONFIG['deadline']['pools']=pools

except Exception as connect_deadline_ERR:
    print('connect_deadline_ERR:',str(connect_deadline_ERR))

